package ooday04;

public class InnerClassDemo {
    public static void main(String[] args) {
        Mama mama = new Mama();
        mama.cmm();

    }
}
class Mama{  //外部类
    void cmm(){
        Baby baby = new Baby();
        baby.show();
    }
    class Baby{ //内部类
        void show(){
            System.out.println("6666666");
        }
    }
}
